﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using OpenGl;

namespace GameEngine
{
    internal class Game : Engine.Game
    {
        public Engine.GameStatement CurrentStatement;


       /* public void b()
        {
            a();
        }*/
    }

    class Program
    {
        static void Main(string[] args)
        {
           Initiator OpenGl = new Initiator("TEST", 400,400,false,true,true,true,null,null,null);
           OpenGl.setCamera(new float[]{1,1,1,1,1,1,1,1,1});
            OpenGl.SetMainLoopFunc(MainLoop);
           OpenGl.Init();
        }

        static void MainLoop()
        {
            Drawer.SetBackgroundColor3i(255,0,0,0);
            Drawer.SetColor3i(0,255,0);
            Drawer.DrawRectangle(0,0,0,100,100,100,100,0,100,0,0,100);
            Drawer.Refresh();
        }
    }
}
